package com.itheima.myextends;

/*
    继承特点:
        1.单继承:一个子类只能有一个父类
        2.多层继承:子继承父,父继承爷
 */
public class Demo01 {
    public static void main(String[] args) {
        Zi zi = new Zi();
        zi.playGame();
        zi.smoke();
        zi.drink();
        zi.show();
        System.out.println("============");

    }
}
